Skip to content

Align scheduled-call E2E with the shared date/time picker - #75

Merged
osyed merged 6 commits into
agent/align-backup-restore-account-flowfrom
agent/align-video-call-date-time-picker
Aug 5, 2026
Merged

Align scheduled-call E2E with the shared date/time picker#75
osyed merged 6 commits into
agent/align-backup-restore-account-flowfrom
agent/align-video-call-date-time-picker

Conversation

@dnlbui

@dnlbui dnlbui commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

What Changed

This PR aligns the scheduled video-call E2E flow with the shared date/time picker used by the current dev client.

  • Waits for dateTimePickerModal and verifies that its contextual title is Schedule Call.
  • Uses the shared date, hour, minute, AM/PM, and confirmation controls.
  • Matches the current minute-precision success toast and reuses the same expected time for downstream message and call-list assertions.

Fixed Flow

  1. Set up the users and open the call scheduling choices.
  2. Choose Schedule.
  3. Wait for the shared date/time picker, verify its call-specific title, fill the shared controls, and submit.
  4. Verify the success toast, sender and recipient scheduled messages, and both users' call lists.

Why

The test still targeted the previous call-specific picker IDs even though the dev client now opens a shared date/time picker. The dialog was visibly open, but the obsolete locator reported it as missing. After correcting those selectors, the test also exposed an old seconds-precision toast expectation; the current client displays scheduled times to the minute.

Validation

  • CI=true npx playwright test tests/videoCall.e2e.test.js --project=chromium --grep "schedule call: scheduled message appears and call listed for both users" --workers=1 --retries=0 --reporter=line
  • node --check tests/videoCall.e2e.test.js
  • git diff --check ca62609..HEAD

Stacked on #73.

Closes #74

@dnlbui
dnlbui marked this pull request as ready for review August 5, 2026 20:06
@osyed
osyed force-pushed the agent/align-backup-restore-account-flow branch from ca62609 to 6767714 Compare August 5, 2026 21:03
@dnlbui dnlbui linked an issue Aug 5, 2026 that may be closed by this pull request
@osyed
osyed force-pushed the agent/align-backup-restore-account-flow branch 3 times, most recently from 1bbf146 to 2b42148 Compare August 5, 2026 21:10
@osyed
osyed merged commit e5ed7c3 into agent/align-backup-restore-account-flow Aug 5, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align scheduled video-call E2E with the shared date/time picker

2 participants